package com.ns.school.mapper.edu;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ns.school.po.edu.BookDB;

import java.util.List;

public interface BookMapper extends BaseMapper<BookDB> {
    Integer addBook(BookDB bookDB);

    List<BookDB> findAllBooks(BookDB bookDB);

    Integer selectBook(BookDB bookDB);

    Integer updBook(BookDB bookDB);


    BookDB editBook(Integer id);


    Integer deleteBook(Integer id);

    Integer shelvesBooks(Integer id);

    Integer frameBooks(Integer id);

    Integer bookUpdate(Integer ids);

    Integer selectBookCode(BookDB bookDB);

}
